<?php 
function msg_table($postid,$uname,$ptitle,$msg,$ptime,$replies) {
?>
<table cellpadding="0" cellspacing="0" id="table_msg"><tr>
<td rowspan="2" width="100px" style="text-align:center; vertical-align:top; background-color:#333333;">
<img src="pics/head.gif" name="touxiang" width="90px" height="100px" alt="" /><br />
</td>
<th>主题:<?php echo $ptitle;?><br />
<font color="#AFD1D6">发表者:<?php echo $uname;?>&nbsp;&nbsp;&nbsp;
发表时间:<?php echo $ptime;?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
回复数：<?php echo $replies;?></font></th>
<th width="100" style="text-align:left; vertical-align:middle; padding-left:0;">
<a id="a2" href="reply.php?<?php echo "postid='$postid'";?>">回复</a></th></tr>
<tr><td colspan="2"><?php echo $msg;?></td></tr></table><br />
<?php 
}
?>
